package com.cssy.xxkj.logic.service;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;

import org.springframework.transaction.annotation.Transactional;

import com.cssy.base.service.IBaseService;
import com.cssy.xxkj.logic.entity.LogicReceptDO;
import com.cssy.xxkj.logic.entity.LogicReceptItemDO;
import com.plat.exception.SyBaseException;

public interface ILogicReceptService extends IBaseService<LogicReceptDO> {

	@Transactional
	public void receptSave(LogicReceptDO repDO, HttpServletRequest request)throws SyBaseException;
	
	@Transactional
	public void receptCommit(LogicReceptDO repDO, HttpServletRequest request)throws SyBaseException;
	
	@Transactional
	public List<LogicReceptItemDO> findItemListByMap(Map<String, Object> paramMap)throws SyBaseException;
	
	public BigDecimal findLastReceptHasMoney(String prodoutId)throws SyBaseException;
}
